package com.fsoft.manager.file.mapper;

import java.math.BigDecimal;
import java.sql.SQLException;

import org.springframework.stereotype.Repository;

import com.fsoft.core.common.base.mapper.BaseMapper;
import com.fsoft.manager.file.entity.SmsBsFileVo;

@Repository
public interface SmsBsFileMapper extends BaseMapper<SmsBsFileVo> {

	int deleteByBsId(String value) throws SQLException;

	/***
	 * 获取单据的SORT_NO 最大值
	 * @author Fish
	 * @date 2021-04-21
	 * @param bsId
	 * @return
	 * @throws SQLException
	 */
	BigDecimal selectMaxSort(String bsId) throws SQLException;
}
